package dbms.ypr.user;

import java.io.Serializable;
import java.util.List;

public class TablePermissions implements Serializable {

    private static final long serialVersionUID = 1L;

    private String tableName;

    private List<String> permissions;

    public TablePermissions() {
    }

    public TablePermissions(String tableName) {
        this.tableName = tableName;
    }

    public TablePermissions(String tableName, List<String> permissions) {
        this.tableName = tableName;
        this.permissions = permissions;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public List<String> getPermissions() {
        return permissions;
    }

    public void setPermissions(List<String> permissions) {
        this.permissions = permissions;
    }
}
